<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\MerchantMedicineSku
 *
 * @property int $id
 * @property int $enterprise_id 商家id
 * @property int $merchant_medicine_id 药品id
 * @property int $img_id 图片id
 * @property string|null $sku_num 规格编码
 * @property string|null $specification 规格
 * @property float $price 商品价格
 * @property int $stock 商品库存
 * @property int $sort 排序
 * @property int $status 状态
 * @property \Illuminate\Support\Carbon|null $deleted_at
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku newQuery()
 * @method static \Illuminate\Database\Query\Builder|\App\MerchantMedicineSku onlyTrashed()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku query()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku whereEnterpriseId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku whereImgId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku whereMerchantMedicineId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku wherePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku whereSkuNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku whereSpecification($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku whereStock($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\MerchantMedicineSku withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\MerchantMedicineSku withoutTrashed()
 * @mixin \Eloquent
 * @property string|null $specification_attr 规格值
 * @method static \Illuminate\Database\Eloquent\Builder|\App\MerchantMedicineSku whereSpecificationAttr($value)
 */
class MerchantMedicineSku extends Model
{
    protected $table = "merchant_medicine_sku";
    use SoftDeletes;
}
